const DEFAULT_SIZE_POSITION = {
    sceen3d: {"x":0,"y":0,"w":24,"h":24},
    sceen2d: {"x":0,"y":0,"w":24,"h":24},
    sceenEarth: {"x":0,"y":0,"w":24,"h":24},
    urlIframe: {"x":0,"y":0,"w":24,"h":24},
    chart: {"x":0,"y":0,"w":6,"h":10},
    urlButton: {"x":0,"y":0,"w":2,"h":2},
    default: {"x":0,"y":0,"w":10,"h":10}
}

const getSizeAndPosition = function(type){
    return type in DEFAULT_SIZE_POSITION ? DEFAULT_SIZE_POSITION[type] : DEFAULT_SIZE_POSITION.default
}

export {
    getSizeAndPosition
}